gtkfilesystem: protect against null filesystem type
authorCarlos Soriano <csoriano@gnome.org>
Wed, 7 Oct 2015 23:19:19 +0000 (01:19 +0200)
committerCarlos Soriano <csoriano@gnome.org>
Wed, 7 Oct 2015 23:21:28 +0000 (01:21 +0200)
commitc929e98fba2547015771ffb06c92618ecfe22c71
tree038c7ad64ff497f61b45370205d28a26461db654
parentf10c0da36c27922bebb0f55aa876f215e4840c8e
gtkfilesystem: protect against null filesystem type

The filesystem:type attribute could be NULL, then g_strv_contains
will crash if that happens.
Just don't call it if the attribute is not set.
gtk/gtkfilesystem.c